---
title: E-conomic
sidebarTitle: E-conomic
---

import Overview from "/snippets/overview.mdx"
import PreBuiltTooling from "/snippets/generated/e-conomic/PreBuiltTooling.mdx"
import PreBuiltUseCases from "/snippets/generated/e-conomic/PreBuiltUseCases.mdx"

<Overview />
<PreBuiltTooling />
<PreBuiltUseCases />

## Access requirements
| Pre-Requisites | Status | Comment|
| - | - | - |
| Paid dev account | ❓ |  |
| Paid test account | ❓ |  |
| Partnership | ❓ | |
| App review | ❓ |  |
| Security audit | ❓ | |


## Setup guide

_No setup guide yet._

<Tip>Need help getting started? Get help in the [community](https://nango.dev/slack).</Tip>

<Note>Contribute improvements to the setup guide by [editing this page](https://github.com/nangohq/nango/tree/master/docs/integrations/all/e-conomic.mdx)</Note>


## Useful links

-   [How to generate API credentials](https://www.e-conomic.com/developer/connect)
-   [API docs](https://www.e-conomic.com/developer/documentation)
-   [Auth-related docs](https://apis.e-conomic.com/#Accounts..section/Authentication)

<Note>Contribute useful links by [editing this page](https://github.com/nangohq/nango/tree/master/docs/integrations/all/e-conomic.mdx)</Note>


## API gotchas
- E-conomic in Nango uses `Basic` auth mode to access different endpoints. Provide your `YOUR_PRIVATE_TOKEN` as the Username value and `YOUR_AGREEMENT_GRANT_TOKEN` as the Password value.
- After creating a connection, you can use the Basic credentials as follows;
```js
const connection = await nango.getConnection();
let headers: { [key: string]: string } = {};
if ('username' in connection.credentials && 'password' in connection.credentials) {
    headers = {
        'X-AppSecretToken': connection.credentials.username,
        'X-AgreementGrantToken': connection.credentials.password
    };
} else {
    throw new nango.ActionError({
        message: `Basic API credentials are incomplete`
    });
}

const resp = await nango.get({
    endpoint: '/customers',
    headers: headers
});

```
- E-conomic enforces a rate limit of 50,000 API calls per 24 hour period per agreement. For more details check E-conomic [fair use policy](https://www.e-conomic.com/developer/fair-use-policy)

<Note>Contribute API gotchas by [editing this page](https://github.com/nangohq/nango/tree/master/docs/integrations/all/e-conomic.mdx)</Note>
